﻿body .DayView {
    background-color: #1fb1a6;
}

.DayView p {
    margin-left: 120px;
}

.DayView header {
    text-align: center;
    color: #fff;
}

.DayView.fragment header[role=banner] {
   margin-left: 0;
}

.DayView section[role=main] {
    text-align: center;
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr 1fr;
    -ms-grid-rows: auto 100px;
    border: 0px solid green;
    ;
}

#calendarday {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    border: 0px solid red;
}

    #calendarday div {
        color: #fff;
    }

#shareregion {
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    color: #fff;
    border: 0px solid blue;
}

#presection {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    border: 0px solid blue;
    text-align: left;
}

#nextsection {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    border: 0px solid blue;
    text-align: right;
}


#clearflow {
    clear: both;
}

#daynumber {
    font-size: 8em;
}

#lunarday, #gzyear, #gzmonth, #goodbadinfo {
    font-size: 2em;
}

#commdayinfo {
    margin-bottom: 25px;
}

#goodsection {
    float: left;
    margin-left: 50px;
}

#badsection {
    float: right;
    margin-right: 50px;
}

#shareregion {
    margin-top: 30px;
}


#horoscope {
    float: left;
    font-size: 2em;
}

    #horoscope:hover, #goodcontent div:hover, #badcontent div:hover {
        border: 2px solid #1fb1a6;
    }

#sharebutton {
    float: right;
    font-size: 2em;
    color: #fff;
}

    #sharebutton:hover {
        border: 3px solid green;
    }


#preday, #nextday {
    font-size: 3em;
    background-color: #666;
    padding: 20px 0;
}

    #preday:hover, #nextday:hover {
        background-color: #333;
    }

#preday {
}

@media screen and (-ms-view-state: snapped) {
    .DayView section[role=main] {
        display: -ms-grid;
        -ms-grid-columns: 10px 1fr 10px;
        -ms-grid-rows: auto;
    }

    #goodsection {
        margin-left: 0px;
    }

    #badsection {
        margin-right: 0px;
    }

    #shareregion {
        text-align: left;
    }

    #horoscope, #sharebutton {
        float: none;
    }

    #nextday {
    }
}
